package com.leetcode.partition8;

/**
 * @author `RKC`
 * @date 2021/12/12 9:19
 */
public class LC709转换成小写字母 {

    public static String toLowerCase(String s) {
        char[] ans = s.toCharArray();
        for (int i = 0; i < ans.length; i++) {
            if (ans[i] >= 'A' && ans[i] <= 'Z') ans[i] += 32;
        }
        return new String(ans);
    }
}
